package com.limanyik.family.oss.service;

import com.limanyik.family.common.entity.server.oss.dto.DownloadTheFileDto;
import com.limanyik.family.common.entity.server.oss.dto.UploadFileDto;
import com.limanyik.family.common.utils.FamilyHttpResponse;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface BaseUploadService {

    FamilyHttpResponse uploadAliyunChannel(UploadFileDto uploadFileDto, MultipartFile file);

    FamilyHttpResponse downloadAliyunChannel(HttpServletResponse response, DownloadTheFileDto downloadTheFileDto);

}
